package com.lcj.hub.common.constant;

import lombok.Getter;

@Getter
public enum ErrorCode {

    SUCCESS("200", "SUCCESS"),


    NO_AUTH("401", "没有权限"),
    DUPLICATE_SUBMISSION("409", "重复提交"),
    ILLEGAL_ARGUMENT("428", "非法参数"),

    ERROR("500", "系统异常,请联系管理员"),
    RUNTIME("500", "运行时异常"),
    EXCEPTION("500", "服务器内部错误"),
    NULL_POINTER("500", "空指针异常"),

    ;
    private final String Code;
    private final String Message;

    ErrorCode(String code, String message) {
        Code = code;
        Message = message;
    }


}
